package cn.exrick.xboot.modules.activiti.vo;

import lombok.Data;
import org.activiti.engine.history.HistoricProcessInstance;
import org.activiti.engine.runtime.ProcessInstance;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

@Data
public class ActHistoricProcessInstance implements HistoricProcessInstance,Serializable {

    private String id;

    private String procInstId;

    private String businessKey;

    private String procDefId;

    private String name;

    private String startUserId;

    private String departmentId;

    private String parentId;

    private String key;

    private Date startTime;

    private Date endTime;

    private Long duration;

    private String deleteReason;




    @Override
    public String getProcessDefinitionId() {
        return this.procDefId;
    }

    @Override
    public String getProcessDefinitionName() {
        return null;
    }

    @Override
    public String getProcessDefinitionKey() {
        return this.key;
    }

    @Override
    public Integer getProcessDefinitionVersion() {
        return null;
    }

    @Override
    public String getDeploymentId() {
        return null;
    }

    @Override
    public Date getStartTime() {
        return this.startTime;
    }

    @Override
    public Date getEndTime() {
        return this.endTime;
    }

    @Override
    public Long getDurationInMillis() {
        return this.duration;
    }

    @Override
    public String getEndActivityId() {
        return null;
    }

    @Override
    public String getStartUserId() {
        return this.startUserId;
    }

    @Override
    public String getStartActivityId() {
        return null;
    }

    @Override
    public String getDeleteReason() {
        return this.deleteReason;
    }

    @Override
    public String getSuperProcessInstanceId() {
        return null;
    }

    @Override
    public String getId() {
        return this.id;
    }

    @Override
    public Map<String, Object> getProcessVariables() {
        return null;
    }

    @Override
    public String getTenantId() {
        return null;
    }

    @Override
    public String getDescription() {
        return null;
    }

    @Override
    public void setLocalizedName(String s) {

    }
    @Override
    public void setLocalizedDescription(String s) {

    }


}
